package com.lc.auth.service;

import com.baomidou.mybatisplus.core.metadata.IPage;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lc.model.system.SysUser;
import com.lc.vo.system.SysUserQueryVo;

import java.util.Map;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author lc
 * @since 2024-05-06
 */
public interface SysUserService extends IService<SysUser> {


    void updateStatus(Long id, Integer status);


    SysUser getByUsername(String username);

    /**
     * 根据用户名获取用户登录信息
     * @param username
     * @return
     */
    Map<String, Object> getUserInfo(String username);

    //条件分页查询
    IPage<SysUser> selectByQueryVo(Long page, Long limit, SysUserQueryVo sysUserQueryVo);
}
